package data_types_and_variables;

public class Exercise5 {

	/**
	 * Find errors in sentences
	 * NOTE: code written here should be correct
	 * @param args
	 */
	public static void main(String[] args) {

		//a
		// Need the ';' at the end of every line
		int a, b, c;
		a = 0;
		
		//b
		// System.out.println('ab');
		System.out.println("ab");
		
		//c
		// System.out.prinln( (3 + 2) -1) );
		System.out.println( (3 +2) - 1);
		
		//d
		// int a = 3.2;
		// value is not an integer so we let java make it an integer
		int d = (int) 3.2;
		
		//e
		// float a = 2.1;
		// int c = a;
		float e = 2.1F;
		int f = (int) e;
		
		//f
		// int i = 10;
		// float b;
		// i = b;
		int g = 10;
		float h;
		h = 5.4F;
		g = (int) h;
		
		//g
		// int x;
		// {
		//	x = 10;
		//	}
		//	System.out.println(x);
		int i;
		i = 10;
		System.out.println(i);
		
		//h
		// boolean a, b;
		// a = false, b = true;
		boolean j, k;
		j = false; k = true;
		
		//i
		// int x;
		// x = 1;
		// r = x + 1;
		int l;
		int m;
		l = 1;
		m = l + 1;
		
		//j
		// String s = 'This is a string';
		String s = "This is a string";
		
	}

}
